package cn.com.bluemoon.daps.system.mapper;

import cn.com.bluemoon.daps.system.entity.DapSystemDatasource;
import cn.com.bluemoon.daps.system.vo.SysDatasourceVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 系统数据源表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2020-08-03
 */
@Repository
public interface DapSystemDatasourceMapper extends BaseMapper<DapSystemDatasource> {

    List<SysDatasourceVo> selectDataSources(@Param("sourceName") String sourceName);
}
